/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistence;

import model.OscarUitreiking;

/**
 *
 * @author Matthy & Jelle
 */
public class OscarUitreikingService extends AbstractService{

  @Override
  public boolean validate(Object o) {
    OscarUitreiking oscarUitreiking = (OscarUitreiking)o;
    return !(oscarUitreiking.getFunctie() == null && oscarUitreiking.getFilm() == null);
  }

}
